/*
 * @Author: 追逐的娃 kangchao_php@163.com
 * @Date: 2024-06-25 14:10:58
 * @LastEditors: kangchao kangchao@sxdata.com.cn
 * @LastEditTime: 2024-11-27 10:57:03
 * @FilePath: \vue-project\src\main.js
 * @Description:
 *
 */
import './styles/main.scss'
import './assets/font/iconfont.css'
import 'virtual:windi.css'
import { createApp } from 'vue'
import pinia from './stores'

//引入自定义指令
import directives from '@/directives/index.js'

import App from './App.vue'
import { router } from './router'
import { Message } from '@arco-design/web-vue'
//引入国际化
import { i18n } from '@/i18n/index'
//引入anime.js动画库
// import VueAnime from 'vue-animejs';


const app = createApp(App)
Message._context = app._context
import ArcoVueIcon from '@arco-design/web-vue/es/icon'
import '@arco-design/web-vue/dist/arco.css'
import './permission'
import 'nprogress/nprogress.css'
import 'animate.css'

app.use(pinia)
app.use(router)
app.use(ArcoVueIcon)
app.use(directives)
app.use(i18n)
// app.use(VueAnime)
app.mount('#app')
